package com.study.service.serviceImpl;

import com.study.dao.AppcategoryDao;
import com.study.entity.AppCategory;
import com.study.service.AppcategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/10/18.
 */
@Service
public class AppcategoryServiceImpl implements AppcategoryService {
    @Autowired
    private AppcategoryDao dao;
    @Override
    public AppCategory findOneById(Integer id) {
        return dao.findOneById(id);
    }

    @Override
    public List<AppCategory> findList(AppCategory appCategory) {
        return null;
    }/**/

    @Override
    public int updateById(Integer id) {
        return 0;
    }

    @Override
    public int saveById(AppCategory appCategory) {
        return 0;
    }

    @Override
    public int deleteById(Integer id) {
        return 0;
    }



    @Override
    public List<AppCategory> getLevel2(Integer id) {
        return dao.getLevel2(id);
    }
}
